package com.lczc.soa.service;

import com.lczc.soa.domain.Apply;
import com.lczc.soa.domain.SearchUserResponse;
import com.lczc.soa.domain.User;

import java.util.List;

public interface UserService {

    int saveUser(User user);

    SearchUserResponse findAllUser(Integer pageNum, Integer pageSize);

//    User findUserByPrimaryKey(String id);

    int deleteUser(String id);

    SearchUserResponse findUserLikeName(String keywords, Integer pageNum, Integer pageSize);

    List<User> listUser();

    User findUserByName(String userName);

    int saveApply(Apply apply);

    int updatePassword(User user);
}
